encoding/json.Decoder.scanp (field)
25 uses
encoding/json (current package)
stream.go#L18: scanp int // start of unread data in buf
stream.go#L67: dec.d.init(dec.buf[dec.scanp : dec.scanp+n])
stream.go#L68: dec.scanp += n
stream.go#L84: return bytes.NewReader(dec.buf[dec.scanp:])
stream.go#L92: scanp := dec.scanp
stream.go#L139: n := scanp - dec.scanp
stream.go#L141: scanp = dec.scanp + n
stream.go#L143: return scanp - dec.scanp, nil
stream.go#L149: if dec.scanp > 0 {
stream.go#L150: dec.scanned += int64(dec.scanp)
stream.go#L151: n := copy(dec.buf, dec.buf[dec.scanp:])
stream.go#L153: dec.scanp = 0
stream.go#L316: dec.scanp++
stream.go#L326: dec.scanp++
stream.go#L378: dec.scanp++
stream.go#L387: dec.scanp++
stream.go#L397: dec.scanp++
stream.go#L406: dec.scanp++
stream.go#L416: dec.scanp++
stream.go#L422: dec.scanp++
stream.go#L427: dec.scanp++
stream.go#L490: for i := dec.scanp; i < len(dec.buf); i++ {
stream.go#L495: dec.scanp = i
stream.go#L510: return dec.scanned + int64(dec.scanp)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |